#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define MineCount 10
#include<stdio.h>
#include<time.h>
#include<stdlib.h>

void InitBoard(char board[ROWS][COLS],int rows,int cols,char set);
void DisplayBoard(char board[ROW][COL], int row, int col);
void Setmine(char board[ROWS][COLS],int rows,int cols);
void FindMine(char mine[ROWS][COLS], char show[ROWS][COLS],int rows,int cols);
int GetMine(char mine[ROWS][COLS], int x, int y);
void SLight(char board[ROWS][COLS],int x,int y);
void ALight(char board[ROWS][COLS], int x, int y);
void Light(char mine[ROWS][COLS], char show[ROWS][COLS], int x, int y);

